package com.jingdianjichi.subject.converter;

import com.jingdianjichi.subject.eneity.SubjectAnswerBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectMultiple;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MultipleSubjectConverter {
    MultipleSubjectConverter INSTANCE = Mappers.getMapper(MultipleSubjectConverter.class);
    SubjectMultiple converterBoToCategory(SubjectAnswerBO subjectAnswerBO);
    List<SubjectAnswerBO> converterEntitysToAnswers(List<SubjectMultiple> subjectMultipleList);

}
